package cn.itsource.basic.utils;

import lombok.Data;

import java.util.List;

//封装 分页查询返回的数据
@Data
public class PageResult<T> {
    private  Long  total;
    private List<T> data;

    public PageResult(Long total, List<T> data) {
        this.total = total;
        this.data = data;
    }

    public PageResult() {
    }
}
